#Anaconda/envs/pysagin python
# -*- coding: utf-8 -*-
'''
groundbase.py
============

.. module:: groundbase
  :platform: Windows, Linux
  :synopsis: 地基平台

.. moduleauthor:: WangXi

简介
----


版本
----

- 版本 1.0 (2025/03/28): 初始版本

'''

from astropy.time import Time
from pysagin.base import Base

class GroundBase(Base):
    def __init__(self, name:str, **kwargs):
        super().__init__(name, **kwargs)
    
class GroundStation(GroundBase):
    def __init__(self, name:str, init_time:Time, init_gps:list, **kwargs):
        super().__init__(name, **kwargs)
        self.init_time = init_time
        self.curren_time = init_time
        self.init_gps = init_gps
        self.current_gps = init_gps
    
    def update(self, time) -> None:
        super().update(time)

